﻿using AyuBookmark.Common.Input;

namespace AyuBookmark.Common.Interfaces
{
    /// <summary>
    /// 快捷键服务接口
    /// </summary>
    public interface IShortcutService
    {
        /// <summary>
        /// 处理按键按下事件
        /// </summary>
        void ProcessKeyPress(VirtualKeyCode key);

        /// <summary>
        /// 注册快捷键
        /// </summary>
        void RegisterShortcut(VirtualKeyCode mainKey, params VirtualKeyCode[] modifierKeys);

        /// <summary>
        /// 注销快捷键
        /// </summary>
        void UnregisterShortcut(VirtualKeyCode mainKey, params VirtualKeyCode[] modifierKeys);
    }
}